<?xml version="1.0" encoding="UTF-8"?>
<!--  versao com alteracoes do tipo token, valida a partir de 03/11/08- PL_005b-->
<!--  versao com atualizacao na UFCons e cPais emi - 21/12/08 - PL_005c-->
<!--  versao com atualizacao no CFOP/Inscricao SUFRAMA/ID infNFe - 11/08/09 - PL_005d-->
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema_v1.01.xsd"/>
	<xs:include schemaLocation="tiposBasico_v1.02.xsd"/>
	<xs:complexType name="TNFe">
		<xs:annotation>
			<xs:documentation>Tipo Nota Fiscal Eletrônica</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="infNFe">
				<xs:annotation>
					<xs:documentation>Informações da Nota Fiscal eletrônica</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ide">
							<xs:annotation>
								<xs:documentation>identificação da NF-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="cUF" type="TCodUfIBGE">
										<xs:annotation>
											<xs:documentation>Código da UF do emitente do Documento Fiscal. Utilizar a Tabela do IBGE.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="cNF">
										<xs:annotation>
											<xs:documentation>Código numérico que compõe a Chave de Acesso. Número aleatório gerado pelo emitente para cada NF-e.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:pattern value="[0-9]{9}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="natOp">
										<xs:annotation>
											<xs:documentation>Descrição da Natureza da Operação</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="60"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="indPag">
										<xs:annotation>
											<xs:documentation>Indicador da forma de pagamento:
0 – pagamento à vista;
1 – pagamento à prazo;
2 – outros.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="0"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="mod" type="TMod">
										<xs:annotation>
											<xs:documentation>Código do modelo do Documento Fiscal. Utilizar 55 para identificação da NF-e, emitida em substituição ao modelo 1 e 1A.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="serie" type="TSerie">
										<xs:annotation>
											<xs:documentation>Série do Documento Fiscal</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="nNF" type="TNF">
										<xs:annotation>
											<xs:documentation>Número do Documento Fiscal</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="dEmi" type="TData">
										<xs:annotation>
											<xs:documentation>Data de emissão do Documento Fiscal (AAAA-MM-DD)</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="dSaiEnt" type="TData" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Data de saída ou de entrada da mercadoria / produto (AAAA-MM-DD)</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="tpNF">
										<xs:annotation>
											<xs:documentation>Tipo do Documento Fiscal (0 - entrada; 1 - saída)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="0"/>
												<xs:enumeration value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="cMunFG" type="TCodMunIBGE">
										<xs:annotation>
											<xs:documentation>Código do Município de Ocorrência do Fato Gerador (utilizar a tabela do IBGE)</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="NFref" minOccurs="0" maxOccurs="unbounded">
										<xs:complexType>
											<xs:choice>
												<xs:element name="refNFe" type="TChNFe">
													<xs:annotation>
														<xs:documentation>Chave de acesso das NF-e referenciadas. Chave de acesso compostas por Código da UF (tabela do IBGE) + AAMM da emissão + CNPJ do Emitente + modelo, série e número da NF-e Referenciada + Código Numérico + DV.</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="refNF">
													<xs:complexType>
														<xs:sequence>
															<xs:element name="cUF" type="TCodUfIBGE">
																<xs:annotation>
																	<xs:documentation>Código da UF do emitente do Documento Fiscal. Utilizar a Tabela do IBGE.</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="AAMM">
																<xs:annotation>
																	<xs:documentation>AAMM da emissão</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:whiteSpace value="preserve"/>
																		<xs:pattern value="[0-9]{2}[0]{1}[1-9]{1}|[0-9]{2}[1]{1}[0-2]{1}"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:element>
															<xs:element name="CNPJ" type="TCnpj">
																<xs:annotation>
																	<xs:documentation>CNPJ do emitente do documento fiscal referenciado</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="mod">
																<xs:annotation>
																	<xs:documentation>Código do modelo do Documento Fiscal. Utilizar 01 para NF modelo 1/1A</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:whiteSpace value="preserve"/>
																		<xs:enumeration value="01"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:element>
															<xs:element name="serie" type="TSerie">
																<xs:annotation>
																	<xs:documentation>Série do Documento Fiscal, informar zero se inexistente</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="nNF" type="TNF">
																<xs:annotation>
																	<xs:documentation>Número do Documento Fiscal</xs:documentation>
																</xs:annotation>
															</xs:element>
														</xs:sequence>
													</xs:complexType>
												</xs:element>
											</xs:choice>
										</xs:complexType>
									</xs:element>
									<xs:element name="tpImp">
										<xs:annotation>
											<xs:documentation>Formato de impressão do DANFE (1 - Retrato; 2 - Paisagem)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpEmis">
										<xs:annotation>
											<xs:documentation>Forma de emissão da NF-e
1 - Normal;
2 - Contingência FS
3 - Contingência SCAN
4 - Contingência DPEC
5 - Contingência FSDA</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
												<xs:enumeration value="3"/>
												<xs:enumeration value="4"/>
												<xs:enumeration value="5"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="cDV">
										<xs:annotation>
											<xs:documentation>Digito Verificador da Chave de Acesso da NF-e</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:pattern value="[0-9]{1}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpAmb" type="TAmb">
										<xs:annotation>
											<xs:documentation>Identificação do Ambiente:
1 - Produção
2 - Homologação</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="finNFe" type="TFinNFe">
										<xs:annotation>
											<xs:documentation>Finalidade da emissão da NF-e:
1 - NFe normal
2 - NFe complementar
3 - NFe de ajuste</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="procEmi" type="TProcEmi">
										<xs:annotation>
											<xs:documentation>Processo de emissão utilizado com a seguinte codificação:
0 - emissão de NF-e com aplicativo do contribuinte;
1 - emissão de NF-e avulsa pelo Fisco;
2 - emissão de NF-e avulsa, pelo contribuinte com seu certificado digital, através do site
do Fisco;
3- emissão de NF-e pelo contribuinte com aplicativo fornecido pelo Fisco.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="verProc">
										<xs:annotation>
											<xs:documentation>versão do aplicativo utilizado no processo de
emissão</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="emit">
							<xs:annotation>
								<xs:documentation>Identificação do emitente</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:choice>
										<xs:element name="CNPJ" type="TCnpj">
											<xs:annotation>
												<xs:documentation>Número do CNPJ do emitente</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="CPF" type="TCpf">
											<xs:annotation>
												<xs:documentation>Número do CPF do emitente</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:choice>
									<xs:element name="xNome">
										<xs:annotation>
											<xs:documentation>Razão Social ou Nome do emitente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xFant" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Nome fantasia</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="enderEmit" type="TEnderEmi">
										<xs:annotation>
											<xs:documentation>Endereço do emitente</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="IE" type="TIe">
										<xs:annotation>
											<xs:documentation>Inscrição Estadual</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="IEST" type="TIeST" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Inscricao Estadual do Substituto Tributário</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:sequence minOccurs="0">
										<xs:annotation>
											<xs:documentation>Grupo de informações de interesse da Prefeitura</xs:documentation>
										</xs:annotation>
										<xs:element name="IM">
											<xs:annotation>
												<xs:documentation>Inscrição Municipal</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="TString">
													<xs:minLength value="1"/>
													<xs:maxLength value="15"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="CNAE">
											<xs:annotation>
												<xs:documentation>CNAE Fiscal</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:whiteSpace value="preserve"/>
													<xs:pattern value="[0-9]{7}"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="avulsa" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Emissão de avulsa, informar os dados do Fisco emitente</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="CNPJ" type="TCnpj">
										<xs:annotation>
											<xs:documentation>CNPJ do Órgão emissor</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="xOrgao">
										<xs:annotation>
											<xs:documentation>Órgão emitente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="matr">
										<xs:annotation>
											<xs:documentation>Matrícula do agente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="60"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xAgente">
										<xs:annotation>
											<xs:documentation>Nome do agente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="fone">
										<xs:annotation>
											<xs:documentation>Telefone</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:pattern value="[0-9]{1,11}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="UF" type="TUfEmi">
										<xs:annotation>
											<xs:documentation>Sigla da Unidade da Federação</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="nDAR">
										<xs:annotation>
											<xs:documentation>Número do Documento de Arrecadação de Receita</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="60"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="dEmi" type="TData">
										<xs:annotation>
											<xs:documentation>Data de emissão do DAR (AAAA-MM-DD)</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="vDAR" type="TDec_1302">
										<xs:annotation>
											<xs:documentation>Valor Total constante no DAR</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="repEmi">
										<xs:annotation>
											<xs:documentation>Repartição Fiscal emitente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="60"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="dPag" type="TData" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Data de pagamento do DAR (AAAA-MM-DD)</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="dest">
							<xs:annotation>
								<xs:documentation>Identificação do Destinatário  </xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:choice>
										<xs:element name="CNPJ" type="TCnpjOpc">
											<xs:annotation>
												<xs:documentation>Número do CNPJ</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="CPF" type="TCpf">
											<xs:annotation>
												<xs:documentation>Número do CPF</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:choice>
									<xs:element name="xNome">
										<xs:annotation>
											<xs:documentation>Razão Social ou nome do destinatário</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="enderDest" type="TEndereco">
										<xs:annotation>
											<xs:documentation>Dados do endereço</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="IE" type="TIeDest">
										<xs:annotation>
											<xs:documentation>Inscrição Estadual (obrigatório nas operações com contribuintes do ICMS)</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="ISUF" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Inscrição na SUFRAMA (Obrigatório nas operações com as áreas com benefícios de incentivos fiscais sob controle da SUFRAMA) PL_005d - 11/08/09 - alterado para aceitar 8 ou 9 dígitos</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:pattern value="[0-9]{8,9}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="retirada" type="TLocal" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Identificação do Local de Retirada (informar apenas quando for diferente do endereço do remetente)</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="entrega" type="TLocal" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Identificação do Local de Entrega (informar apenas quando for diferente do endereço do destinatário)</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="det" maxOccurs="990">
							<xs:annotation>
								<xs:documentation>Dados dos detalhes da NF-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="prod">
										<xs:annotation>
											<xs:documentation>Dados dos produtos e serviços da NF-e</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="cProd">
													<xs:annotation>
														<xs:documentation>Código do produto ou serviço. Preencher com CFOP caso se trate de itens não relacionados com mercadorias/produto e que o contribuinte não possua codificação própria
Formato ”CFOP9999”.</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="60"/>
															<xs:minLength value="1"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="cEAN">
													<xs:annotation>
														<xs:documentation>GTIN (Global Trade Item Number) do produto, antigo código EAN ou código de barras</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:pattern value="[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="xProd">
													<xs:annotation>
														<xs:documentation>Descrição do produto ou serviço</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="120"/>
															<xs:minLength value="1"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="NCM" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Código NCM (8 posições)</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:pattern value="[0-9]{8}"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="EXTIPI" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Código EX TIPI (3 posições)</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:pattern value="[0-9]{2,3}"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="genero" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Gênero do produto ou serviço. Preencher de acordo com a Tabela de Capítulos da NCM. Em caso de serviço, não incluir a TAG.</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:pattern value="[0-9]{1,2}"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="CFOP" type="TCfop">
													<xs:annotation>
														<xs:documentation>Código Fiscal de Operações e Prestações</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="uCom">
													<xs:annotation>
														<xs:documentation>Unidade comercial</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="6"/>
															<xs:minLength value="1"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="qCom" type="TDec_0804">
													<xs:annotation>
														<xs:documentation>Quantidade Comercial</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vUnCom" type="TDec_1204">
													<xs:annotation>
														<xs:documentation>Valor unitário de comercialização</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vProd" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor bruto do produto ou serviço</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="cEANTrib">
													<xs:annotation>
														<xs:documentation>GTIN (Global Trade Item Number) da unidade tributável, antigo código EAN ou código de barras</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:pattern value="[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="uTrib">
													<xs:annotation>
														<xs:documentation>Unidade Tributável</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="6"/>
															<xs:minLength value="1"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="qTrib" type="TDec_0804">
													<xs:annotation>
														<xs:documentation>Quantidade Tributável</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vUnTrib" type="TDec_1204">
													<xs:annotation>
														<xs:documentation>Valor unitário de tributação</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vFrete" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor Total do Frete</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vSeg" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor Total do Seguro</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vDesc" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor do Desconto</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="DI" minOccurs="0" maxOccurs="unbounded">
													<xs:complexType>
														<xs:sequence>
															<xs:element name="nDI">
																<xs:annotation>
																	<xs:documentation>Numero do Documento de Importação DI/DSI/DA (DI/DSI/DA)</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="TString">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="10"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:element>
															<xs:element name="dDI" type="TData">
																<xs:annotation>
																	<xs:documentation>Data de registro da DI/DSI/DA (AAAA-MM-DD)</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="xLocDesemb">
																<xs:annotation>
																	<xs:documentation>Local do desembaraço aduaneiro</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="TString">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="60"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:element>
															<xs:element name="UFDesemb" type="TUfEmi">
																<xs:annotation>
																	<xs:documentation>UF onde ocorreu o desembaraço aduaneiro</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="dDesemb" type="TData">
																<xs:annotation>
																	<xs:documentation>Data do desembaraço aduaneiro (AAAA-MM-DD)</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="cExportador">
																<xs:annotation>
																	<xs:documentation>Código do exportador (usado nos sistemas internos de informação do emitente da NF-e)</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="TString">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="60"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:element>
															<xs:element name="adi" maxOccurs="unbounded">
																<xs:annotation>
																	<xs:documentation>Adições</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="nAdicao">
																			<xs:annotation>
																				<xs:documentation>Número da Adição</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:pattern value="[1-9]{1}[0-9]{0,2}"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="nSeqAdic">
																			<xs:annotation>
																				<xs:documentation>Número seqüencial do item dentro da Adição</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:pattern value="[1-9]{1}[0-9]{0,2}"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="cFabricante">
																			<xs:annotation>
																				<xs:documentation>Código do fabricante estrangeiro (usado nos sistemas internos de informação do emitente da NF-e)</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="TString">
																					<xs:minLength value="1"/>
																					<xs:maxLength value="60"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="vDescDI" type="TDec_1302Opc" minOccurs="0">
																			<xs:annotation>
																				<xs:documentation>Valor do desconto do item da DI – adição</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
														</xs:sequence>
													</xs:complexType>
												</xs:element>
												<xs:choice minOccurs="0">
													<xs:annotation>
														<xs:documentation>Informações específicas de produtos e serviços</xs:documentation>
													</xs:annotation>
													<xs:element name="veicProd">
														<xs:annotation>
															<xs:documentation>Veículos novos</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="tpOp">
																	<xs:annotation>
																		<xs:documentation>Tipo da Operação (1 - Venda concessionária; 2 - Faturamento direto; 3 - Venda direta; 0 - Outros)</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:whiteSpace value="preserve"/>
																			<xs:enumeration value="0"/>
																			<xs:enumeration value="1"/>
																			<xs:enumeration value="2"/>
																			<xs:enumeration value="3"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="chassi">
																	<xs:annotation>
																		<xs:documentation>Chassi do veículo</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:length value="17"/>
																			<xs:whiteSpace value="preserve"/>
																			<xs:pattern value="[A-Z0-9]+"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="cCor">
																	<xs:annotation>
																		<xs:documentation>Cor do veículo (código de cada montadora)</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="4"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="xCor">
																	<xs:annotation>
																		<xs:documentation>Descrição da cor</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="40"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="pot">
																	<xs:annotation>
																		<xs:documentation>Potência do motor</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="4"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="CM3">
																	<xs:annotation>
																		<xs:documentation>CM3 (potência)</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="4"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="pesoL">
																	<xs:annotation>
																		<xs:documentation>Peso líquido</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="9"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="pesoB">
																	<xs:annotation>
																		<xs:documentation>Peso bruto</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="9"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="nSerie">
																	<xs:annotation>
																		<xs:documentation>Serial (série)</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="9"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="tpComb">
																	<xs:annotation>
																		<xs:documentation>Tipo de combustível</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="8"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="nMotor">
																	<xs:annotation>
																		<xs:documentation>Número do motor</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="21"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="CMKG">
																	<xs:annotation>
																		<xs:documentation>CMKG</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="9"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="dist">
																	<xs:annotation>
																		<xs:documentation>Distância entre eixos</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="4"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="RENAVAM" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>RENAVAM, informar apenas quando existente</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:length value="9"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="anoMod">
																	<xs:annotation>
																		<xs:documentation>Ano Modelo de Fabricação</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:whiteSpace value="preserve"/>
																			<xs:pattern value="[0-9]{4}"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="anoFab">
																	<xs:annotation>
																		<xs:documentation>Ano de Fabricação</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:whiteSpace value="preserve"/>
																			<xs:pattern value="[0-9]{4}"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="tpPint">
																	<xs:annotation>
																		<xs:documentation>Tipo de pintura</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:length value="1"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="tpVeic">
																	<xs:annotation>
																		<xs:documentation>Tipo de veículo (utilizar tabela RENAVAM)</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:whiteSpace value="preserve"/>
																			<xs:pattern value="[0-9]{1,2}"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="espVeic">
																	<xs:annotation>
																		<xs:documentation>Espécie de veículo (utilizar tabela RENAVAM)</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:whiteSpace value="preserve"/>
																			<xs:pattern value="[0-9]{1}"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="VIN">
																	<xs:annotation>
																		<xs:documentation>Código do VIN (Vehicle Identification Number)</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:length value="1"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="condVeic">
																	<xs:annotation>
																		<xs:documentation>Condição do veículo (1 - acabado; 2 - inacabado; 3 - semi-acabado)</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:whiteSpace value="preserve"/>
																			<xs:enumeration value="1"/>
																			<xs:enumeration value="2"/>
																			<xs:enumeration value="3"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="cMod">
																	<xs:annotation>
																		<xs:documentation>Código Marca Modelo (utilizar tabela RENAVAM)</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:whiteSpace value="preserve"/>
																			<xs:pattern value="[0-9]{1,6}"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
															</xs:sequence>
														</xs:complexType>
													</xs:element>
													<xs:element name="med" maxOccurs="unbounded">
														<xs:annotation>
															<xs:documentation>Medicamentos</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="nLote">
																	<xs:annotation>
																		<xs:documentation>Número do lote do medicamento</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="20"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="qLote" type="TDec_0803">
																	<xs:annotation>
																		<xs:documentation>Quantidade de produtos no lote</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="dFab" type="TData">
																	<xs:annotation>
																		<xs:documentation>Data de Fabricação do medicamento (AAAA-MM-DD)</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="dVal" type="TData">
																	<xs:annotation>
																		<xs:documentation>Data de validade do medicamento (AAAA-MM-DD)</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="vPMC" type="TDec_1302">
																	<xs:annotation>
																		<xs:documentation>Preço Máximo ao Consumidor</xs:documentation>
																	</xs:annotation>
																</xs:element>
															</xs:sequence>
														</xs:complexType>
													</xs:element>
													<xs:element name="arma" maxOccurs="unbounded">
														<xs:annotation>
															<xs:documentation>Armamentos</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="tpArma">
																	<xs:annotation>
																		<xs:documentation>Indicador do tipo de arma de fogo (0 - Uso permitido; 1 - Uso restrito)</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:whiteSpace value="preserve"/>
																			<xs:enumeration value="0"/>
																			<xs:enumeration value="1"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="nSerie">
																	<xs:annotation>
																		<xs:documentation>Número de série da arma</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:whiteSpace value="preserve"/>
																			<xs:pattern value="[0-9]{1,9}"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="nCano">
																	<xs:annotation>
																		<xs:documentation>Número de série do cano</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:whiteSpace value="preserve"/>
																			<xs:pattern value="[0-9]{1,9}"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="descr">
																	<xs:annotation>
																		<xs:documentation>Descrição completa da arma, compreendendo: calibre, marca, capacidade, tipo de funcionamento, comprimento e demais elementos que permitam a sua perfeita identificação.</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="256"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
															</xs:sequence>
														</xs:complexType>
													</xs:element>
													<xs:element name="comb">
														<xs:annotation>
															<xs:documentation>Informar apenas para operações
com combustíveis líquidos</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="cProdANP">
																	<xs:annotation>
																		<xs:documentation>Código de produto da ANP. Utilizar a codificação de produtos do Sistema de Informações de Movimentação de produtos - SIMP(http://www.anp.gov.br/simp/index.h
tm), somente informar 999999999 quando não se tratar  de produtos não regulados pela ANP -
Agência Nacional do Petróleo.</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:whiteSpace value="preserve"/>
																			<xs:pattern value="[0-9]{9}"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="CODIF" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>Código de autorização / registro
do CODIF.
Informar apenas quando a UF
utilizar o CODIF (Sistema de
Controle do Diferimento do Imposto
nas Operações com AEAC - Álcool
Etílico Anidro Combustível).</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:whiteSpace value="preserve"/>
																			<xs:pattern value="[0-9]{0,21}"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
																<xs:element name="qTemp" type="TDec_1204Opc" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>Quantidade de combustível
faturada à temperatura ambiente.
Informar quando a quantidade
faturada informada no campo
qCom (I10) tiver sido ajustada para
uma temperatura diferente da
ambiente.</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="CIDE" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>CIDE Combustíveis</xs:documentation>
																	</xs:annotation>
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="qBCProd" type="TDec_1204">
																				<xs:annotation>
																					<xs:documentation>BC do CIDE ( Quantidade comercializada) </xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="vAliqProd" type="TDec_1104">
																				<xs:annotation>
																					<xs:documentation>Alíquota do CIDE  (em reais)</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="vCIDE" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>Valor do CIDE</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																		</xs:sequence>
																	</xs:complexType>
																</xs:element>
																<xs:element name="ICMSComb">
																	<xs:annotation>
																		<xs:documentation>Grupo de informações do ICMS
próprio e ST retido para o produto,
informar em todas as operações
com combustíveis líquidos.</xs:documentation>
																	</xs:annotation>
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="vBCICMS" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>BC do ICMS próprio</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="vICMS" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>Valor do ICMS próprio</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="vBCICMSST" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>BC do ICMS ST</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="vICMSST" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>Valor do ICMS ST</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																		</xs:sequence>
																	</xs:complexType>
																</xs:element>
																<xs:element name="ICMSInter" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>Grupo de informação do ICMSST
devido para a UF de destino, nas
operações interestaduais de
produtos que tiveram retenção
antecipada de ICMS por ST para a
UF do remetente</xs:documentation>
																	</xs:annotation>
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="vBCICMSSTDest" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>BC do ICMS ST da UF de destino</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="vICMSSTDest" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>Valor do ICMS da UF de
destino.</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																		</xs:sequence>
																	</xs:complexType>
																</xs:element>
																<xs:element name="ICMSCons" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>Grupo de informação do ICMSST
devido para a UF de destino, nas
operações interestaduais de
produtos que tiveram retenção
antecipada de ICMS por ST para a
UF do remetente</xs:documentation>
																	</xs:annotation>
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="vBCICMSSTCons" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>BC do ICMS ST da UF de consumo</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="vICMSSTCons" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>Valor do ICMSST da UF de consumo</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="UFCons" type="TUf">
																				<xs:annotation>
																					<xs:documentation>Sigla da UF Dest</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																		</xs:sequence>
																	</xs:complexType>
																</xs:element>
															</xs:sequence>
														</xs:complexType>
													</xs:element>
												</xs:choice>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
									<xs:element name="imposto">
										<xs:annotation>
											<xs:documentation>Tributos incidentes nos produtos ou serviços da NF-e</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="ICMS">
													<xs:annotation>
														<xs:documentation>Dados do ICMS Normal e ST</xs:documentation>
													</xs:annotation>
													<xs:complexType>
														<xs:choice>
															<xs:element name="ICMS00">
																<xs:annotation>
																	<xs:documentation>Tributação pelo ICMS
00 - Tributada integralmente</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="orig" type="Torig">
																			<xs:annotation>
																				<xs:documentation>origem da mercadoria: 0 - Nacional 
1 - Estrangeira - Importação direta 
2 - Estrangeira - Adquirida no mercado interno 
</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Tributção pelo ICMS
00 - Tributada integralmente
</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="00"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="modBC">
																			<xs:annotation>
																				<xs:documentation>Modalidade de determinação da BC do ICMS:
0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preço Tabelado Máximo (valor);
3 - Valor da Operação.</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																					<xs:enumeration value="3"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="vBC" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pICMS" type="TDec_0302">
																			<xs:annotation>
																				<xs:documentation>Alíquota do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vICMS" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="ICMS10">
																<xs:annotation>
																	<xs:documentation>Tributação pelo ICMS
10 - Tributada e com cobrança do ICMS por substituição tributária </xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="orig" type="Torig">
																			<xs:annotation>
																				<xs:documentation>origem da mercadoria: 0 - Nacional 
1 - Estrangeira - Importação direta 
2 - Estrangeira - Adquirida no mercado interno 
</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>10 - Tributada e com cobrança do ICMS por substituição tributária </xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="10"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="modBC">
																			<xs:annotation>
																				<xs:documentation>Modalidade de determinação da BC do ICMS:
0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preço Tabelado Máximo (valor);
3 - Valor da Operação.</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																					<xs:enumeration value="3"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="vBC" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pICMS" type="TDec_0302">
																			<xs:annotation>
																				<xs:documentation>Alíquota do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vICMS" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="modBCST">
																			<xs:annotation>
																				<xs:documentation>Modalidade de determinação da BC do ICMS ST:
0 – Preço tabelado ou máximo  sugerido;
1 - Lista Negativa (valor);
2 - Lista Positiva (valor);
3 - Lista Neutra (valor);
4 - Margem Valor Agregado (%);
5 - Pauta (valor);</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																					<xs:enumeration value="3"/>
																					<xs:enumeration value="4"/>
																					<xs:enumeration value="5"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="pMVAST" type="TDec_0302Opc" minOccurs="0">
																			<xs:annotation>
																				<xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pRedBCST" type="TDec_0302Opc" minOccurs="0">
																			<xs:annotation>
																				<xs:documentation>Percentual de redução da BC ICMS ST </xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vBCST" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do ICMS ST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pICMSST" type="TDec_0302">
																			<xs:annotation>
																				<xs:documentation>Alíquota do ICMS ST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vICMSST" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do ICMS ST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="ICMS20">
																<xs:annotation>
																	<xs:documentation>Tributção pelo ICMS
20 - Com redução de base de cálculo </xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="orig" type="Torig">
																			<xs:annotation>
																				<xs:documentation>origem da mercadoria: 0 - Nacional 
1 - Estrangeira - Importação direta 
2 - Estrangeira - Adquirida no mercado interno 
</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Tributção pelo ICMS
20 - Com redução de base de cálculo</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="20"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="modBC">
																			<xs:annotation>
																				<xs:documentation>Modalidade de determinação da BC do ICMS:
0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preço Tabelado Máximo (valor);
3 - Valor da Operação.</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																					<xs:enumeration value="3"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="pRedBC" type="TDec_0302">
																			<xs:annotation>
																				<xs:documentation>Percentual de redução da BC</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vBC" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pICMS" type="TDec_0302">
																			<xs:annotation>
																				<xs:documentation>Alíquota do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vICMS" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="ICMS30">
																<xs:annotation>
																	<xs:documentation>Tributação pelo ICMS
30 - Isenta ou não tributada e com cobrança do ICMS por substituição tributária</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="orig" type="Torig">
																			<xs:annotation>
																				<xs:documentation>origem da mercadoria: 0 - Nacional 
1 - Estrangeira - Importação direta 
2 - Estrangeira - Adquirida no mercado interno 
</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Tributção pelo ICMS
30 - Isenta ou não tributada e com cobrança do ICMS por substituição tributária </xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="30"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="modBCST">
																			<xs:annotation>
																				<xs:documentation>Modalidade de determinação da BC do ICMS ST:
0 – Preço tabelado ou máximo  sugerido;
1 - Lista Negativa (valor);
2 - Lista Positiva (valor);
3 - Lista Neutra (valor);
4 - Margem Valor Agregado (%);
5 - Pauta (valor).</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																					<xs:enumeration value="3"/>
																					<xs:enumeration value="4"/>
																					<xs:enumeration value="5"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="pMVAST" type="TDec_0302Opc" minOccurs="0">
																			<xs:annotation>
																				<xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pRedBCST" type="TDec_0302Opc" minOccurs="0">
																			<xs:annotation>
																				<xs:documentation>Percentual de redução da BC ICMS ST </xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vBCST" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do ICMS ST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pICMSST" type="TDec_0302">
																			<xs:annotation>
																				<xs:documentation>Alíquota do ICMS ST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vICMSST" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do ICMS ST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="ICMS40">
																<xs:annotation>
																	<xs:documentation>Tributação pelo ICMS
40 - Isenta 
41 - Não tributada 
50 - Suspensão  </xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="orig" type="Torig">
																			<xs:annotation>
																				<xs:documentation>origem da mercadoria: 0 - Nacional 
1 - Estrangeira - Importação direta 
2 - Estrangeira - Adquirida no mercado interno 
</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Tributação pelo ICMS 
40 - Isenta 
41 - Não tributada 
50 - Suspensão 
51 - Diferimento </xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="40"/>
																					<xs:enumeration value="41"/>
																					<xs:enumeration value="50"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="ICMS51">
																<xs:annotation>
																	<xs:documentation>Tributção pelo ICMS
51 - Diferimento
A exigência do preenchimento das informações do ICMS diferido fica à critério de cada UF.</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="orig" type="Torig">
																			<xs:annotation>
																				<xs:documentation>origem da mercadoria: 0 - Nacional 
1 - Estrangeira - Importação direta 
2 - Estrangeira - Adquirida no mercado interno 
</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Tributção pelo ICMS
20 - Com redução de base de cálculo</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="51"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="modBC" minOccurs="0">
																			<xs:annotation>
																				<xs:documentation>Modalidade de determinação da BC do ICMS:
0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preço Tabelado Máximo (valor);
3 - Valor da Operação.</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																					<xs:enumeration value="3"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="pRedBC" type="TDec_0302" minOccurs="0">
																			<xs:annotation>
																				<xs:documentation>Percentual de redução da BC</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vBC" type="TDec_1302" minOccurs="0">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pICMS" type="TDec_0302" minOccurs="0">
																			<xs:annotation>
																				<xs:documentation>Alíquota do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vICMS" type="TDec_1302" minOccurs="0">
																			<xs:annotation>
																				<xs:documentation>Valor do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="ICMS60">
																<xs:annotation>
																	<xs:documentation>Tributação pelo ICMS
60 - ICMS cobrado anteriormente por substituição tributária </xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="orig" type="Torig">
																			<xs:annotation>
																				<xs:documentation>origem da mercadoria: 0 - Nacional 
1 - Estrangeira - Importação direta 
2 - Estrangeira - Adquirida no mercado interno 
</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Tributação pelo ICMS 
60 - ICMS cobrado anteriormente por substituição tributária </xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="60"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="vBCST" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do ICMS ST retido anteriormente</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vICMSST" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do ICMS ST retido anteriormente</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="ICMS70">
																<xs:annotation>
																	<xs:documentation>Tributação pelo ICMS 
70 - Com redução de base de cálculo e cobrança do ICMS por substituição tributária </xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="orig" type="Torig">
																			<xs:annotation>
																				<xs:documentation>origem da mercadoria: 0 - Nacional 
1 - Estrangeira - Importação direta 
2 - Estrangeira - Adquirida no mercado interno 
</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Tributção pelo ICMS
70 - Com redução de base de cálculo e cobrança do ICMS por substituição tributária </xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="70"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="modBC">
																			<xs:annotation>
																				<xs:documentation>Modalidade de determinação da BC do ICMS:
0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preço Tabelado Máximo (valor);
3 - Valor da Operação.</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																					<xs:enumeration value="3"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="pRedBC" type="TDec_0302">
																			<xs:annotation>
																				<xs:documentation>Percentual de redução da BC</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vBC" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pICMS" type="TDec_0302">
																			<xs:annotation>
																				<xs:documentation>Alíquota do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vICMS" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do ICMS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="modBCST">
																			<xs:annotation>
																				<xs:documentation>Modalidade de determinação da BC do ICMS ST:
0 – Preço tabelado ou máximo  sugerido;
1 - Lista Negativa (valor);
2 - Lista Positiva (valor);
3 - Lista Neutra (valor);
4 - Margem Valor Agregado (%);
5 - Pauta (valor).</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="0"/>
																					<xs:enumeration value="1"/>
																					<xs:enumeration value="2"/>
																					<xs:enumeration value="3"/>
																					<xs:enumeration value="4"/>
																					<xs:enumeration value="5"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="pMVAST" type="TDec_0302Opc" minOccurs="0">
																			<xs:annotation>
																				<xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pRedBCST" type="TDec_0302Opc" minOccurs="0">
																			<xs:annotation>
																				<xs:documentation>Percentual de redução da BC ICMS ST </xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vBCST" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do ICMS ST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pICMSST" type="TDec_0302">
																			<xs:annotation>
																				<xs:documentation>Alíquota do ICMS ST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vICMSST" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do ICMS ST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="ICMS90">
																<xs:annotation>
																	<xs:documentation>Tributção pelo ICMS
90 - Outras</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="orig" type="Torig">
																			<xs:annotation>
																				<xs:documentation>origem da mercadoria: 0 - Nacional 
1 - Estrangeira - Importação direta 
2 - Estrangeira - Adquirida no mercado interno 
</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Tributção pelo ICMS
90 - Outras</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="90"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:sequence minOccurs="0">
																			<xs:element name="modBC">
																				<xs:annotation>
																					<xs:documentation>Modalidade de determinação da BC do ICMS: 
0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preço Tabelado Máximo (valor);
3 - Valor da Operação.</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:whiteSpace value="preserve"/>
																						<xs:enumeration value="0"/>
																						<xs:enumeration value="1"/>
																						<xs:enumeration value="2"/>
																						<xs:enumeration value="3"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:element>
																			<xs:element name="vBC" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>Valor da BC do ICMS</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="pRedBC" type="TDec_0302Opc" minOccurs="0">
																				<xs:annotation>
																					<xs:documentation>Percentual de redução da BC</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="pICMS" type="TDec_0302">
																				<xs:annotation>
																					<xs:documentation>Alíquota do ICMS</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="vICMS" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>Valor do ICMS</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																		</xs:sequence>
																		<xs:sequence minOccurs="0">
																			<xs:element name="modBCST">
																				<xs:annotation>
																					<xs:documentation>Modalidade de determinação da BC do ICMS ST:
0 – Preço tabelado ou máximo  sugerido;
1 - Lista Negativa (valor);
2 - Lista Positiva (valor);
3 - Lista Neutra (valor);
4 - Margem Valor Agregado (%);
5 - Pauta (valor).</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:whiteSpace value="preserve"/>
																						<xs:enumeration value="0"/>
																						<xs:enumeration value="1"/>
																						<xs:enumeration value="2"/>
																						<xs:enumeration value="3"/>
																						<xs:enumeration value="4"/>
																						<xs:enumeration value="5"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:element>
																			<xs:element name="pMVAST" type="TDec_0302Opc" minOccurs="0">
																				<xs:annotation>
																					<xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="pRedBCST" type="TDec_0302Opc" minOccurs="0">
																				<xs:annotation>
																					<xs:documentation>Percentual de redução da BC ICMS ST </xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="vBCST" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>Valor da BC do ICMS ST</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="pICMSST" type="TDec_0302">
																				<xs:annotation>
																					<xs:documentation>Alíquota do ICMS ST</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																			<xs:element name="vICMSST" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>Valor do ICMS ST</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																		</xs:sequence>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
														</xs:choice>
													</xs:complexType>
												</xs:element>
												<xs:element name="IPI" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Dados do IPI</xs:documentation>
													</xs:annotation>
													<xs:complexType>
														<xs:sequence>
															<xs:element name="clEnq" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>Classe de Enquadramento do IPI para Cigarros e Bebidas</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="TString">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="5"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:element>
															<xs:element name="CNPJProd" type="TCnpj" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>CNPJ do produtor da mercadoria, quando diferente do emitente. Somente para os casos de exportação direta ou indireta.</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="cSelo" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>Código do selo de controle do IPI </xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="TString">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="60"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:element>
															<xs:element name="qSelo" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>Quantidade de selo de controle do IPI</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:whiteSpace value="preserve"/>
																		<xs:pattern value="[0-9]{1,12}"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:element>
															<xs:element name="cEnq">
																<xs:annotation>
																	<xs:documentation>Código de Enquadramento Legal do IPI (tabela a ser criada pela RFB)</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="TString">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="3"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:element>
															<xs:choice>
																<xs:element name="IPITrib">
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="CST">
																				<xs:annotation>
																					<xs:documentation>Código da Situação Tributária do IPI:
00-Entrada com recuperação de crédito
49 - Outras entradas
50-Saída tributada
99-Outras saídas</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:whiteSpace value="preserve"/>
																						<xs:enumeration value="00"/>
																						<xs:enumeration value="49"/>
																						<xs:enumeration value="50"/>
																						<xs:enumeration value="99"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:element>
																			<xs:choice>
																				<xs:sequence>
																					<xs:element name="vBC" type="TDec_1302">
																						<xs:annotation>
																							<xs:documentation>Valor da BC do IPI</xs:documentation>
																						</xs:annotation>
																					</xs:element>
																					<xs:element name="pIPI" type="TDec_0302">
																						<xs:annotation>
																							<xs:documentation>Alíquota do IPI</xs:documentation>
																						</xs:annotation>
																					</xs:element>
																				</xs:sequence>
																				<xs:sequence>
																					<xs:element name="qUnid" type="TDec_1204">
																						<xs:annotation>
																							<xs:documentation>Quantidade total na unidade padrão para tributação </xs:documentation>
																						</xs:annotation>
																					</xs:element>
																					<xs:element name="vUnid" type="TDec_1104">
																						<xs:annotation>
																							<xs:documentation>Valor por Unidade Tributável. Informar o valor do imposto Pauta por unidade de medida.</xs:documentation>
																						</xs:annotation>
																					</xs:element>
																				</xs:sequence>
																			</xs:choice>
																			<xs:element name="vIPI" type="TDec_1302">
																				<xs:annotation>
																					<xs:documentation>Valor do IPI</xs:documentation>
																				</xs:annotation>
																			</xs:element>
																		</xs:sequence>
																	</xs:complexType>
																</xs:element>
																<xs:element name="IPINT">
																	<xs:complexType>
																		<xs:sequence>
																			<xs:element name="CST">
																				<xs:annotation>
																					<xs:documentation>Código da Situação Tributária do IPI:
01-Entrada tributada com alíquota zero
02-Entrada isenta
03-Entrada não-tributada
04-Entrada imune
05-Entrada com suspensão
51-Saída tributada com alíquota zero
52-Saída isenta
53-Saída não-tributada
54-Saída imune
55-Saída com suspensão</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:whiteSpace value="preserve"/>
																						<xs:enumeration value="01"/>
																						<xs:enumeration value="02"/>
																						<xs:enumeration value="03"/>
																						<xs:enumeration value="04"/>
																						<xs:enumeration value="05"/>
																						<xs:enumeration value="51"/>
																						<xs:enumeration value="52"/>
																						<xs:enumeration value="53"/>
																						<xs:enumeration value="54"/>
																						<xs:enumeration value="55"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:element>
																		</xs:sequence>
																	</xs:complexType>
																</xs:element>
															</xs:choice>
														</xs:sequence>
													</xs:complexType>
												</xs:element>
												<xs:element name="II" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Dados do Imposto de Importação</xs:documentation>
													</xs:annotation>
													<xs:complexType>
														<xs:sequence>
															<xs:element name="vBC" type="TDec_1302">
																<xs:annotation>
																	<xs:documentation>Base da BC do Imposto de Importação</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="vDespAdu" type="TDec_1302">
																<xs:annotation>
																	<xs:documentation>Valor das despesas aduaneiras</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="vII" type="TDec_1302">
																<xs:annotation>
																	<xs:documentation>Valor do Imposto de Importação</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="vIOF" type="TDec_1302">
																<xs:annotation>
																	<xs:documentation>Valor do Imposto sobre Operações Financeiras</xs:documentation>
																</xs:annotation>
															</xs:element>
														</xs:sequence>
													</xs:complexType>
												</xs:element>
												<xs:element name="PIS">
													<xs:annotation>
														<xs:documentation>Dados do PIS</xs:documentation>
													</xs:annotation>
													<xs:complexType>
														<xs:choice>
															<xs:element name="PISAliq">
																<xs:annotation>
																	<xs:documentation>Código de Situação Tributária do PIS.
 01 – Operação Tributável - Base de Cálculo = Valor da Operação Alíquota Normal (Cumulativo/Não Cumulativo);
02 - Operação Tributável - Base de Calculo = Valor da Operação (Alíquota Diferenciada);</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Código de Situação Tributária do PIS.
 01 – Operação Tributável - Base de Cálculo = Valor da Operação Alíquota Normal (Cumulativo/Não Cumulativo);
02 - Operação Tributável - Base de Calculo = Valor da Operação (Alíquota Diferenciada);</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="01"/>
																					<xs:enumeration value="02"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="vBC" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do PIS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pPIS" type="TDec_0302">
																			<xs:annotation>
																				<xs:documentation>Alíquota do PIS (em percentual)</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vPIS" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do PIS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="PISQtde">
																<xs:annotation>
																	<xs:documentation>Código de Situação Tributária do PIS.
03 - Operação Tributável - Base de Calculo = Quantidade Vendida x Alíquota por Unidade de Produto;</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Código de Situação Tributária do PIS.
03 - Operação Tributável - Base de Calculo = Quantidade Vendida x Alíquota por Unidade de Produto;</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="03"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="qBCProd" type="TDec_1204">
																			<xs:annotation>
																				<xs:documentation>Quantidade Vendida </xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vAliqProd" type="TDec_1104">
																			<xs:annotation>
																				<xs:documentation>Alíquota do PIS (em reais)</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vPIS" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do PIS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="PISNT">
																<xs:annotation>
																	<xs:documentation>Código de Situação Tributária do PIS.
04 - Operação Tributável - Tributação Monofásica - (Alíquota Zero);
06 - Operação Tributável - Alíquota Zero;
07 - Operação Isenta da contribuição;
08 - Operação Sem Incidência da contribuição;
09 - Operação com suspensão da contribuição;</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Código de Situação Tributária do PIS.
04 - Operação Tributável - Tributação Monofásica - (Alíquota Zero);
06 - Operação Tributável - Alíquota Zero;
07 - Operação Isenta da contribuição;
08 - Operação Sem Incidência da contribuição;
09 - Operação com suspensão da contribuição;</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="04"/>
																					<xs:enumeration value="06"/>
																					<xs:enumeration value="07"/>
																					<xs:enumeration value="08"/>
																					<xs:enumeration value="09"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="PISOutr">
																<xs:annotation>
																	<xs:documentation>Código de Situação Tributária do PIS.
99 - Outras Operações.</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Código de Situação Tributária do PIS.
99 - Outras Operações.</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="99"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:choice>
																			<xs:sequence>
																				<xs:element name="vBC" type="TDec_1302">
																					<xs:annotation>
																						<xs:documentation>Valor da BC do PIS</xs:documentation>
																					</xs:annotation>
																				</xs:element>
																				<xs:element name="pPIS" type="TDec_0302">
																					<xs:annotation>
																						<xs:documentation>Alíquota do PIS (em percentual)</xs:documentation>
																					</xs:annotation>
																				</xs:element>
																			</xs:sequence>
																			<xs:sequence>
																				<xs:element name="qBCProd" type="TDec_1204">
																					<xs:annotation>
																						<xs:documentation>Quantidade Vendida </xs:documentation>
																					</xs:annotation>
																				</xs:element>
																				<xs:element name="vAliqProd" type="TDec_1104">
																					<xs:annotation>
																						<xs:documentation>Alíquota do PIS (em reais)</xs:documentation>
																					</xs:annotation>
																				</xs:element>
																			</xs:sequence>
																		</xs:choice>
																		<xs:element name="vPIS" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do PIS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
														</xs:choice>
													</xs:complexType>
												</xs:element>
												<xs:element name="PISST" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Dados do PIS Substituição Tributária</xs:documentation>
													</xs:annotation>
													<xs:complexType>
														<xs:sequence>
															<xs:choice>
																<xs:sequence>
																	<xs:element name="vBC" type="TDec_1302Opc">
																		<xs:annotation>
																			<xs:documentation>Valor da BC do PIS ST</xs:documentation>
																		</xs:annotation>
																	</xs:element>
																	<xs:element name="pPIS" type="TDec_0302Opc">
																		<xs:annotation>
																			<xs:documentation>Alíquota do PIS ST (em percentual)</xs:documentation>
																		</xs:annotation>
																	</xs:element>
																</xs:sequence>
																<xs:sequence>
																	<xs:element name="qBCProd" type="TDec_1204Opc">
																		<xs:annotation>
																			<xs:documentation>Quantidade Vendida </xs:documentation>
																		</xs:annotation>
																	</xs:element>
																	<xs:element name="vAliqProd" type="TDec_1104Opc">
																		<xs:annotation>
																			<xs:documentation>Alíquota do PIS ST (em reais)</xs:documentation>
																		</xs:annotation>
																	</xs:element>
																</xs:sequence>
															</xs:choice>
															<xs:element name="vPIS" type="TDec_1302Opc">
																<xs:annotation>
																	<xs:documentation>Valor do PIS ST</xs:documentation>
																</xs:annotation>
															</xs:element>
														</xs:sequence>
													</xs:complexType>
												</xs:element>
												<xs:element name="COFINS">
													<xs:annotation>
														<xs:documentation>Dados do COFINS</xs:documentation>
													</xs:annotation>
													<xs:complexType>
														<xs:choice>
															<xs:element name="COFINSAliq">
																<xs:annotation>
																	<xs:documentation>Código de Situação Tributária do COFINS.
 01 – Operação Tributável - Base de Cálculo = Valor da Operação Alíquota Normal (Cumulativo/Não Cumulativo);
02 - Operação Tributável - Base de Calculo = Valor da Operação (Alíquota Diferenciada);</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Código de Situação Tributária do COFINS.
 01 – Operação Tributável - Base de Cálculo = Valor da Operação Alíquota Normal (Cumulativo/Não Cumulativo);
02 - Operação Tributável - Base de Calculo = Valor da Operação (Alíquota Diferenciada);</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="01"/>
																					<xs:enumeration value="02"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="vBC" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do COFINS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pCOFINS" type="TDec_0302">
																			<xs:annotation>
																				<xs:documentation>Alíquota do COFINS (em percentual)</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vCOFINS" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do COFINS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="COFINSQtde">
																<xs:annotation>
																	<xs:documentation>Código de Situação Tributária do COFINS.
03 - Operação Tributável - Base de Calculo = Quantidade Vendida x Alíquota por Unidade de Produto;</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Código de Situação Tributária do COFINS.
03 - Operação Tributável - Base de Calculo = Quantidade Vendida x Alíquota por Unidade de Produto;</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:enumeration value="03"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="qBCProd" type="TDec_1204">
																			<xs:annotation>
																				<xs:documentation>Quantidade Vendida </xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vAliqProd" type="TDec_1104">
																			<xs:annotation>
																				<xs:documentation>Alíquota do COFINS (em reais)</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vCOFINS" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do COFINS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="COFINSNT">
																<xs:annotation>
																	<xs:documentation>Código de Situação Tributária do COFINS:
04 - Operação Tributável - Tributação Monofásica - (Alíquota Zero);
06 - Operação Tributável - Alíquota Zero;
07 - Operação Isenta da contribuição;
08 - Operação Sem Incidência da contribuição;
09 - Operação com suspensão da contribuição;</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Código de Situação Tributária do COFINS:
04 - Operação Tributável - Tributação Monofásica - (Alíquota Zero);
06 - Operação Tributável - Alíquota Zero;
07 - Operação Isenta da contribuição;
08 - Operação Sem Incidência da contribuição;
09 - Operação com suspensão da contribuição;</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="04"/>
																					<xs:enumeration value="06"/>
																					<xs:enumeration value="07"/>
																					<xs:enumeration value="08"/>
																					<xs:enumeration value="09"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="COFINSOutr">
																<xs:annotation>
																	<xs:documentation>Código de Situação Tributária do COFINS:
99 - Outras Operações.</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>Código de Situação Tributária do COFINS:
99 - Outras Operações.</xs:documentation>
																			</xs:annotation>
																			<xs:simpleType>
																				<xs:restriction base="xs:string">
																					<xs:whiteSpace value="preserve"/>
																					<xs:enumeration value="99"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:choice>
																			<xs:sequence>
																				<xs:element name="vBC" type="TDec_1302">
																					<xs:annotation>
																						<xs:documentation>Valor da BC do COFINS</xs:documentation>
																					</xs:annotation>
																				</xs:element>
																				<xs:element name="pCOFINS" type="TDec_0302">
																					<xs:annotation>
																						<xs:documentation>Alíquota do COFINS (em percentual)</xs:documentation>
																					</xs:annotation>
																				</xs:element>
																			</xs:sequence>
																			<xs:sequence>
																				<xs:element name="qBCProd" type="TDec_1204">
																					<xs:annotation>
																						<xs:documentation>Quantidade Vendida </xs:documentation>
																					</xs:annotation>
																				</xs:element>
																				<xs:element name="vAliqProd" type="TDec_1104">
																					<xs:annotation>
																						<xs:documentation>Alíquota do COFINS (em reais)</xs:documentation>
																					</xs:annotation>
																				</xs:element>
																			</xs:sequence>
																		</xs:choice>
																		<xs:element name="vCOFINS" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do COFINS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
														</xs:choice>
													</xs:complexType>
												</xs:element>
												<xs:element name="COFINSST" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Dados do COFINS da
Substituição Tributaria;</xs:documentation>
													</xs:annotation>
													<xs:complexType>
														<xs:sequence>
															<xs:choice>
																<xs:sequence>
																	<xs:element name="vBC" type="TDec_1302Opc">
																		<xs:annotation>
																			<xs:documentation>Valor da BC do COFINS ST</xs:documentation>
																		</xs:annotation>
																	</xs:element>
																	<xs:element name="pCOFINS" type="TDec_0302Opc">
																		<xs:annotation>
																			<xs:documentation>Alíquota do COFINS ST(em percentual)</xs:documentation>
																		</xs:annotation>
																	</xs:element>
																</xs:sequence>
																<xs:sequence>
																	<xs:element name="qBCProd" type="TDec_1204Opc">
																		<xs:annotation>
																			<xs:documentation>Quantidade Vendida </xs:documentation>
																		</xs:annotation>
																	</xs:element>
																	<xs:element name="vAliqProd" type="TDec_1104Opc">
																		<xs:annotation>
																			<xs:documentation>Alíquota do COFINS ST(em reais)</xs:documentation>
																		</xs:annotation>
																	</xs:element>
																</xs:sequence>
															</xs:choice>
															<xs:element name="vCOFINS" type="TDec_1302Opc">
																<xs:annotation>
																	<xs:documentation>Valor do COFINS ST</xs:documentation>
																</xs:annotation>
															</xs:element>
														</xs:sequence>
													</xs:complexType>
												</xs:element>
												<xs:element name="ISSQN" minOccurs="0">
													<xs:annotation>
														<xs:documentation>ISSQN</xs:documentation>
													</xs:annotation>
													<xs:complexType>
														<xs:sequence>
															<xs:element name="vBC" type="TDec_1302">
																<xs:annotation>
																	<xs:documentation>Valor da BC do ISSQN</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="vAliq" type="TDec_0302">
																<xs:annotation>
																	<xs:documentation>Alíquota do ISSQN</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="vISSQN" type="TDec_1302">
																<xs:annotation>
																	<xs:documentation>Valor da do ISSQN</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="cMunFG" type="TCodMunIBGE">
																<xs:annotation>
																	<xs:documentation>Código do Município de Ocorrência do Fato Gerador (utilizar a tabela do IBGE)</xs:documentation>
																</xs:annotation>
															</xs:element>
															<xs:element name="cListServ" type="TCListServ">
																<xs:annotation>
																	<xs:documentation>Código da lista de serviços da LC 116/03 em que se classifica o serivço, campo de interesse da Prefeitura, devendo ser informado nas NFe conjugadas, onde há a prestação de serviços sujeitos ao ISSQN e fornecimento de peças sujeitas ao ICMS</xs:documentation>
																</xs:annotation>
															</xs:element>
														</xs:sequence>
													</xs:complexType>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
									<xs:element name="infAdProd" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações adicionais do produto (norma referenciada, informações complementares, etc)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="500"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
								<xs:attribute name="nItem" use="required">
									<xs:annotation>
										<xs:documentation>Número do item do NF</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:whiteSpace value="preserve"/>
											<xs:pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9]{1}[9]{1}[0]{1}"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="total">
							<xs:annotation>
								<xs:documentation>Dados dos totais da NF-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="ICMSTot">
										<xs:annotation>
											<xs:documentation>Totais referentes ao ICMS</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="vBC" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>BC do ICMS</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vICMS" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor Total do ICMS</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vBCST" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>BC do ICMS ST</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vST" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor Total do ICMS ST</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vProd" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor Total dos produtos e serviços</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vFrete" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor Total do Frete</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vSeg" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor Total do Seguro</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vDesc" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor Total do Desconto</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vII" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor Total do II</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vIPI" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor Total do IPI</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vPIS" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor do PIS</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vCOFINS" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor do COFINS</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vOutro" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Outras Despesas acessórias</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vNF" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor Total da NF-e</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
									<xs:element name="ISSQNtot" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Totais referentes ao ISSQN</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="vServ" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor Total dos Serviços sob não-incidência ou não tributados pelo ICMS </xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vBC" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Base de Cálculo do ISS</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vISS" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor Total do ISS</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vPIS" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor do PIS sobre serviços</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vCOFINS" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor do COFINS sobre serviços</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
									<xs:element name="retTrib" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Retenção de Tributos Federais</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="vRetPIS" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor Retido de PIS</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vRetCOFINS" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor Retido de COFINS</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vRetCSLL" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor Retido de CSLL</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vBCIRRF" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Base de Cálculo do IRRF</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vIRRF" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor Retido de IRRF</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vBCRetPrev" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Base de Cálculo da Retenção da Previdêncica Social</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vRetPrev" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor da Retenção da Previdêncica Social</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="transp">
							<xs:annotation>
								<xs:documentation>Dados dos transportes da NF-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="modFrete">
										<xs:annotation>
											<xs:documentation>Modalidade do frete (0 - por conta do emitente; 1 - por conta do destinatário)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="0"/>
												<xs:enumeration value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="transporta" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Dados do transportador</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:choice minOccurs="0">
													<xs:element name="CNPJ" type="TCnpj">
														<xs:annotation>
															<xs:documentation>CNPJ do transportador</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="CPF" type="TCpf">
														<xs:annotation>
															<xs:documentation>CPF do transportador</xs:documentation>
														</xs:annotation>
													</xs:element>
												</xs:choice>
												<xs:element name="xNome" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Razão Social ou nome</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="60"/>
															<xs:minLength value="1"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="IE" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Inscrição Estadual</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="2"/>
															<xs:maxLength value="14"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="xEnder" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Endereço completo</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="60"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="xMun" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Nome do munícipio</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="60"/>
															<xs:minLength value="1"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="UF" type="TUf" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Sigla da UF</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
									<xs:element name="retTransp" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Dados da retenção  ICMS do Transporte</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="vServ" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor do Serviço</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vBCRet" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>BC da Retenção do ICMS</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="pICMSRet" type="TDec_0302">
													<xs:annotation>
														<xs:documentation>Alíquota da Retenção</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vICMSRet" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor do ICMS Retido</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="CFOP" type="TCfop">
													<xs:annotation>
														<xs:documentation>Código Fiscal de Operações e Prestações</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="cMunFG" type="TCodMunIBGE">
													<xs:annotation>
														<xs:documentation>Código do Município de Ocorrência do Fato Gerador (utilizar a tabela do IBGE)</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
									<xs:element name="veicTransp" type="TVeiculo" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Dados do veículo</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="reboque" type="TVeiculo" minOccurs="0" maxOccurs="2">
										<xs:annotation>
											<xs:documentation>Dados do reboque</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="vol" minOccurs="0" maxOccurs="unbounded">
										<xs:annotation>
											<xs:documentation>Dados dos volumes</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="qVol" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Quantidade de volumes transportados</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:pattern value="[0-9]{1,15}"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="esp" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Espécie dos volumes transportados</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="60"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="marca" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Marca dos volumes transportados</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="60"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="nVol" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Numeração dos volumes transportados</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="60"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="pesoL" type="TDec_1203" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Peso líquido (em kg)</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="pesoB" type="TDec_1203" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Peso bruto (em kg)</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="lacres" minOccurs="0" maxOccurs="unbounded">
													<xs:complexType>
														<xs:sequence>
															<xs:element name="nLacre">
																<xs:annotation>
																	<xs:documentation>Número dos Lacres</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="TString">
																		<xs:minLength value="1"/>
																		<xs:maxLength value="60"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:element>
														</xs:sequence>
													</xs:complexType>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="cobr" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Dados da cobrança da NF-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="fat" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Dados da fatura</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="nFat" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Número da fatura</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="60"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="vOrig" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor original da fatura</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vDesc" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor do desconto da fatura</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vLiq" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor líquido da fatura</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
									<xs:element name="dup" minOccurs="0" maxOccurs="unbounded">
										<xs:annotation>
											<xs:documentation>Dados das duplicatas</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="nDup" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Número da duplicata</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="60"/>
															<xs:minLength value="1"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="dVenc" type="TData" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Data de vencimento da duplicata (AAAA-MM-DD)</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vDup" type="TDec_1302Opc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Valor da duplicata</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infAdic" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Informações adicionais da NF-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="infAdFisco" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações adicionais de interesse do Fisco</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="256"/>
												<xs:minLength value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="infCpl" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações complementares de interesse do Contribuinte</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="5000"/>
												<xs:minLength value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="obsCont" minOccurs="0" maxOccurs="10">
										<xs:annotation>
											<xs:documentation>Campo de uso livre do contribuinte
informar o nome do campo no atributo xCampo
e o conteúdo do campo no xTexto</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="xTexto">
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="60"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
											</xs:sequence>
											<xs:attribute name="xCampo" use="required">
												<xs:simpleType>
													<xs:restriction base="TString">
														<xs:minLength value="1"/>
														<xs:maxLength value="20"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:attribute>
										</xs:complexType>
									</xs:element>
									<xs:element name="obsFisco" minOccurs="0" maxOccurs="10">
										<xs:annotation>
											<xs:documentation>Campo de uso exclusivo do Fisco
informar o nome do campo no atributo xCampo
e o conteúdo do campo no xTexto</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="xTexto">
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="60"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
											</xs:sequence>
											<xs:attribute name="xCampo" use="required">
												<xs:simpleType>
													<xs:restriction base="TString">
														<xs:minLength value="1"/>
														<xs:maxLength value="20"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:attribute>
										</xs:complexType>
									</xs:element>
									<xs:element name="procRef" minOccurs="0" maxOccurs="unbounded">
										<xs:annotation>
											<xs:documentation>Grupo de informações do  processo referenciado</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="nProc">
													<xs:annotation>
														<xs:documentation>Indentificador do processo ou ato
concessório</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="60"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="indProc">
													<xs:annotation>
														<xs:documentation>Origem do processo, informar com:
0 - SEFAZ;
1 - Justiça Federal;
2 - Justiça Estadual;
3 - Secex/RFB;
9 - Outros</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:enumeration value="0"/>
															<xs:enumeration value="1"/>
															<xs:enumeration value="2"/>
															<xs:enumeration value="3"/>
															<xs:enumeration value="9"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="exporta" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Informações de exportação</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="UFEmbarq" type="TUf">
										<xs:annotation>
											<xs:documentation>Sigla da UF onde ocorrerá o embarque dos produtos</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="xLocEmbarq">
										<xs:annotation>
											<xs:documentation>Local onde ocorrerá o embarque dos produtos</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="60"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="compra" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Informações de compras  (Nota de Empenho, Pedido e Contrato)</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="xNEmp" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informação da Nota de Empenho de compras públicas</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="17"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xPed" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informação do pedido</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="60"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xCont" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informação do contrato</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="60"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
					<xs:attribute name="versao" type="TVerNFe" use="required"/>
					<xs:attribute name="Id" use="required">
						<xs:annotation>
							<xs:documentation>PL_005d - 11/08/09 - validação do Id</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:ID">
								<xs:pattern value="NFe[0-9]{44}"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
				<xs:unique name="pk_nItem">
					<xs:selector xpath="./*"/>
					<xs:field xpath="@nItem"/>
				</xs:unique>
			</xs:element>
			<xs:element ref="ds:Signature"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TProtNFe">
		<xs:annotation>
			<xs:documentation>Tipo Protocolo de status resultado do processamento da NF-e</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="infProt">
				<xs:annotation>
					<xs:documentation>Dados do protocolo de status</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="tpAmb" type="TAmb">
							<xs:annotation>
								<xs:documentation>Identificação do Ambiente:
1 - Produção
2 - Homologação</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="verAplic" type="TVerAplic">
							<xs:annotation>
								<xs:documentation>Versão do Aplicativo que processou a NF-e</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="chNFe" type="TChNFe">
							<xs:annotation>
								<xs:documentation>Chaves de acesso da NF-e, compostas por: UF do emitente, AAMM da emissão da NFe, CNPJ do emitente, modelo, série e número da NF-e e código numérico+DV.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="dhRecbto" type="xs:dateTime">
							<xs:annotation>
								<xs:documentation>Data e hora de processamento, no formato AAAA-MM-DDTHH:MM:SS. Deve ser preenchida com data e hora da gravação no Banco em caso de Confirmação. Em caso de Rejeição, com data e hora do recebimento do Lote de NF-e enviado.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="nProt" type="TProt" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Número do Protocolo de Status da NF-e. 1 posição (1 – Secretaria de Fazenda Estadual 2 – Receita Federal); 2 - códiga da UF - 2 posições ano; 10 seqüencial no ano.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="digVal" type="ds:DigestValueType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Digest Value da NF-e processada. Utilizado para conferir a integridade da NF-e original.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="cStat" type="TStat">
							<xs:annotation>
								<xs:documentation>Código do status da mensagem enviada.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="xMotivo" type="TMotivo">
							<xs:annotation>
								<xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
					<xs:attribute name="Id" type="xs:ID" use="optional"/>
				</xs:complexType>
			</xs:element>
			<xs:element ref="ds:Signature" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="versao" type="TVerNFe" use="required"/>
	</xs:complexType>
	<xs:complexType name="TEnviNFe">
		<xs:annotation>
			<xs:documentation> Tipo Pedido de Concessão de Autorização da Nota Fiscal Eletrônica</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="idLote" type="TIdLote"/>
			<xs:element name="NFe" type="TNFe" maxOccurs="50"/>
		</xs:sequence>
		<xs:attribute name="versao" type="TVerNFe" use="required"/>
	</xs:complexType>
	<xs:complexType name="TRetEnviNFe">
		<xs:annotation>
			<xs:documentation>Tipo Retorno do Pedido de Concessão de Autorização da Nota Fiscal Eletrônica</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="tpAmb" type="TAmb">
				<xs:annotation>
					<xs:documentation>Identificação do Ambiente:
1 - Produção
2 - Homologação</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="verAplic" type="TVerAplic">
				<xs:annotation>
					<xs:documentation>Versão do Aplicativo que recebeu o Lote.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="cStat" type="TStat">
				<xs:annotation>
					<xs:documentation>Código do status da mensagem enviada.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="xMotivo" type="TMotivo">
				<xs:annotation>
					<xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="cUF" type="TCodUfIBGE">
				<xs:annotation>
					<xs:documentation>código da UF de atendimento</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="infRec" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Dados do Recibo do Lote</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="nRec" type="TRec">
							<xs:annotation>
								<xs:documentation>Número do Recibo</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="dhRecbto" type="xs:dateTime">
							<xs:annotation>
								<xs:documentation>Data e hora do recebimento, no formato AAAA-MM-DDTHH:MM:SS</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="tMed" type="TMed">
							<xs:annotation>
								<xs:documentation>Tempo médio de resposta do serviço (em segundos) dos últimos 5 minutos</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="versao" type="TVerNFe" use="required"/>
	</xs:complexType>
	<xs:complexType name="TConsReciNFe">
		<xs:annotation>
			<xs:documentation>Tipo Pedido de Consulta do Recido do Lote de Notas Fiscais Eletrônicas</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="tpAmb" type="TAmb">
				<xs:annotation>
					<xs:documentation>Identificação do Ambiente:
1 - Produção
2 - Homologação</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="nRec" type="TRec">
				<xs:annotation>
					<xs:documentation>Número do Recibo</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="versao" type="TVerNFe" use="required"/>
	</xs:complexType>
	<xs:complexType name="TRetConsReciNFe">
		<xs:annotation>
			<xs:documentation>Tipo Retorno do Pedido de  Consulta do Recido do Lote de Notas Fiscais Eletrônicas</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="tpAmb" type="TAmb">
				<xs:annotation>
					<xs:documentation>Identificação do Ambiente:
1 - Produção
2 - Homologação</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="verAplic" type="TVerAplic">
				<xs:annotation>
					<xs:documentation>Versão do Aplicativo que processou a NF-e</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="nRec" type="TRec">
				<xs:annotation>
					<xs:documentation>Número do Recibo Consultado</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="cStat" type="TStat">
				<xs:annotation>
					<xs:documentation>Código do status da mensagem enviada.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="xMotivo" type="TMotivo">
				<xs:annotation>
					<xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="cUF" type="TCodUfIBGE">
				<xs:annotation>
					<xs:documentation>código da UF de atendimento</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="protNFe" type="TProtNFe" minOccurs="0" maxOccurs="50">
				<xs:annotation>
					<xs:documentation>Protocolo de status resultado do processamento da NF-e</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="versao" type="TVerNFe" use="required"/>
	</xs:complexType>
	<xs:complexType name="TNfeProc">
		<xs:annotation>
			<xs:documentation> Tipo da NF-e processada</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="NFe" type="TNFe"/>
			<xs:element name="protNFe" type="TProtNFe"/>
		</xs:sequence>
		<xs:attribute name="versao" type="TVerNFe" use="required"/>
	</xs:complexType>
	<xs:complexType name="TEndereco">
		<xs:annotation>
			<xs:documentation>Tipo Dados do Endereço  // 24/10/08 - tamanho mínimo</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="xLgr">
				<xs:annotation>
					<xs:documentation>Logradouro</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="nro">
				<xs:annotation>
					<xs:documentation>Número</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="xCpl" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Complemento</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="xBairro">
				<xs:annotation>
					<xs:documentation>Bairro</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="cMun" type="TCodMunIBGE">
				<xs:annotation>
					<xs:documentation>Código do município (utilizar a tabela do IBGE), informar 9999999 para operações com o exterior.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="xMun">
				<xs:annotation>
					<xs:documentation>Nome do município, informar EXTERIOR para operações com o exterior.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="UF" type="TUf">
				<xs:annotation>
					<xs:documentation>Sigla da UF, informar EX para operações com o exterior.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CEP" minOccurs="0">
				<xs:annotation>
					<xs:documentation>CEP</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:whiteSpace value="preserve"/>
						<xs:pattern value="[0-9]{8}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="cPais" type="Tpais" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Código do país</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="xPais" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Nome do país</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="fone" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Telefone</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:whiteSpace value="preserve"/>
						<xs:pattern value="[0-9]{1,10}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TEnderEmi">
		<xs:annotation>
			<xs:documentation>Tipo Dados do Endereço do Emitente  // 24/10/08 - desmembrado / tamanho mínimo</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="xLgr">
				<xs:annotation>
					<xs:documentation>Logradouro</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="nro">
				<xs:annotation>
					<xs:documentation>Número</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="xCpl" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Complemento</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="xBairro">
				<xs:annotation>
					<xs:documentation>Bairro</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="cMun" type="TCodMunIBGE">
				<xs:annotation>
					<xs:documentation>Código do município (utilizar a tabela do IBGE), informar 9999999 para operações com o exterior.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="xMun">
				<xs:annotation>
					<xs:documentation>Nome do município, informar EXTERIOR para operações com o exterior.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="UF" type="TUfEmi">
				<xs:annotation>
					<xs:documentation>Sigla da UF</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CEP" minOccurs="0">
				<xs:annotation>
					<xs:documentation>CEP</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:whiteSpace value="preserve"/>
						<xs:pattern value="[0-9]{8}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="cPais" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Código do país</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:enumeration value="1058"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="xPais" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Nome do país</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:enumeration value="Brasil"/>
						<xs:enumeration value="BRASIL"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="fone" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Telefone</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:whiteSpace value="preserve"/>
						<xs:pattern value="[0-9]{1,10}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TLocal">
		<xs:annotation>
			<xs:documentation>Tipo Dados do Local de Retirada ou Entrega // 24/10/08 - tamanho mínimo</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="CNPJ" type="TCnpjOpc">
				<xs:annotation>
					<xs:documentation>CNPJ</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="xLgr">
				<xs:annotation>
					<xs:documentation>Logradouro</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="nro">
				<xs:annotation>
					<xs:documentation>Número</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="xCpl" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Complemento</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="xBairro">
				<xs:annotation>
					<xs:documentation>Bairro</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="cMun" type="TCodMunIBGE">
				<xs:annotation>
					<xs:documentation>Código do município (utilizar a tabela do IBGE)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="xMun">
				<xs:annotation>
					<xs:documentation>Nome do município</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="UF" type="TUf">
				<xs:annotation>
					<xs:documentation>Sigla da UF</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TVeiculo">
		<xs:annotation>
			<xs:documentation>Tipo Dados do Veículo</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="placa">
				<xs:annotation>
					<xs:documentation>Placa do veículo</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="8"/>
						<xs:whiteSpace value="preserve"/>
						<xs:pattern value="[A-Z0-9]+"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="UF" type="TUf">
				<xs:annotation>
					<xs:documentation>Sigla da UF</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="RNTC" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Registro Nacional de Transportador de Carga (ANTT)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:minLength value="1"/>
						<xs:maxLength value="20"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="TCfop">
		<xs:annotation>
			<xs:documentation>Tipo CFOP - PL_005d - 11/08/09 - atualizaçãp do Ajuste SINIEF 05/2009</xs:documentation>
			<xs:documentation>24/10/08 acrescentada a lista de CFOP validos</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1101"/>
			<xs:enumeration value="1102"/>
			<xs:enumeration value="1111"/>
			<xs:enumeration value="1113"/>
			<xs:enumeration value="1116"/>
			<xs:enumeration value="1117"/>
			<xs:enumeration value="1118"/>
			<xs:enumeration value="1120"/>
			<xs:enumeration value="1121"/>
			<xs:enumeration value="1122"/>
			<xs:enumeration value="1124"/>
			<xs:enumeration value="1125"/>
			<xs:enumeration value="1126"/>
			<xs:enumeration value="1151"/>
			<xs:enumeration value="1152"/>
			<xs:enumeration value="1153"/>
			<xs:enumeration value="1154"/>
			<xs:enumeration value="1201"/>
			<xs:enumeration value="1202"/>
			<xs:enumeration value="1203"/>
			<xs:enumeration value="1204"/>
			<xs:enumeration value="1205"/>
			<xs:enumeration value="1206"/>
			<xs:enumeration value="1207"/>
			<xs:enumeration value="1208"/>
			<xs:enumeration value="1209"/>
			<xs:enumeration value="1251"/>
			<xs:enumeration value="1252"/>
			<xs:enumeration value="1253"/>
			<xs:enumeration value="1254"/>
			<xs:enumeration value="1255"/>
			<xs:enumeration value="1256"/>
			<xs:enumeration value="1257"/>
			<xs:enumeration value="1301"/>
			<xs:enumeration value="1302"/>
			<xs:enumeration value="1303"/>
			<xs:enumeration value="1304"/>
			<xs:enumeration value="1305"/>
			<xs:enumeration value="1306"/>
			<xs:enumeration value="1351"/>
			<xs:enumeration value="1352"/>
			<xs:enumeration value="1353"/>
			<xs:enumeration value="1354"/>
			<xs:enumeration value="1355"/>
			<xs:enumeration value="1356"/>
			<xs:enumeration value="1360"/>
			<xs:enumeration value="1401"/>
			<xs:enumeration value="1403"/>
			<xs:enumeration value="1406"/>
			<xs:enumeration value="1407"/>
			<xs:enumeration value="1408"/>
			<xs:enumeration value="1409"/>
			<xs:enumeration value="1410"/>
			<xs:enumeration value="1411"/>
			<xs:enumeration value="1414"/>
			<xs:enumeration value="1415"/>
			<xs:enumeration value="1451"/>
			<xs:enumeration value="1452"/>
			<xs:enumeration value="1501"/>
			<xs:enumeration value="1503"/>
			<xs:enumeration value="1504"/>
			<xs:enumeration value="1505"/>
			<xs:enumeration value="1506"/>
			<xs:enumeration value="1551"/>
			<xs:enumeration value="1552"/>
			<xs:enumeration value="1553"/>
			<xs:enumeration value="1554"/>
			<xs:enumeration value="1555"/>
			<xs:enumeration value="1556"/>
			<xs:enumeration value="1557"/>
			<xs:enumeration value="1601"/>
			<xs:enumeration value="1602"/>
			<xs:enumeration value="1603"/>
			<xs:enumeration value="1604"/>
			<xs:enumeration value="1605"/>
			<xs:enumeration value="1651"/>
			<xs:enumeration value="1652"/>
			<xs:enumeration value="1653"/>
			<xs:enumeration value="1658"/>
			<xs:enumeration value="1659"/>
			<xs:enumeration value="1660"/>
			<xs:enumeration value="1661"/>
			<xs:enumeration value="1662"/>
			<xs:enumeration value="1663"/>
			<xs:enumeration value="1664"/>
			<xs:enumeration value="1901"/>
			<xs:enumeration value="1902"/>
			<xs:enumeration value="1903"/>
			<xs:enumeration value="1904"/>
			<xs:enumeration value="1905"/>
			<xs:enumeration value="1906"/>
			<xs:enumeration value="1907"/>
			<xs:enumeration value="1908"/>
			<xs:enumeration value="1909"/>
			<xs:enumeration value="1910"/>
			<xs:enumeration value="1911"/>
			<xs:enumeration value="1912"/>
			<xs:enumeration value="1913"/>
			<xs:enumeration value="1914"/>
			<xs:enumeration value="1915"/>
			<xs:enumeration value="1916"/>
			<xs:enumeration value="1917"/>
			<xs:enumeration value="1918"/>
			<xs:enumeration value="1919"/>
			<xs:enumeration value="1920"/>
			<xs:enumeration value="1921"/>
			<xs:enumeration value="1922"/>
			<xs:enumeration value="1923"/>
			<xs:enumeration value="1924"/>
			<xs:enumeration value="1925"/>
			<xs:enumeration value="1926"/>
			<xs:enumeration value="1931"/>
			<xs:enumeration value="1932"/>
			<xs:enumeration value="1933"/>
			<xs:enumeration value="1949"/>
			<xs:enumeration value="2101"/>
			<xs:enumeration value="2102"/>
			<xs:enumeration value="2111"/>
			<xs:enumeration value="2113"/>
			<xs:enumeration value="2116"/>
			<xs:enumeration value="2117"/>
			<xs:enumeration value="2118"/>
			<xs:enumeration value="2120"/>
			<xs:enumeration value="2121"/>
			<xs:enumeration value="2122"/>
			<xs:enumeration value="2124"/>
			<xs:enumeration value="2125"/>
			<xs:enumeration value="2126"/>
			<xs:enumeration value="2151"/>
			<xs:enumeration value="2152"/>
			<xs:enumeration value="2153"/>
			<xs:enumeration value="2154"/>
			<xs:enumeration value="2201"/>
			<xs:enumeration value="2202"/>
			<xs:enumeration value="2203"/>
			<xs:enumeration value="2204"/>
			<xs:enumeration value="2205"/>
			<xs:enumeration value="2206"/>
			<xs:enumeration value="2207"/>
			<xs:enumeration value="2208"/>
			<xs:enumeration value="2209"/>
			<xs:enumeration value="2251"/>
			<xs:enumeration value="2252"/>
			<xs:enumeration value="2253"/>
			<xs:enumeration value="2254"/>
			<xs:enumeration value="2255"/>
			<xs:enumeration value="2256"/>
			<xs:enumeration value="2257"/>
			<xs:enumeration value="2301"/>
			<xs:enumeration value="2302"/>
			<xs:enumeration value="2303"/>
			<xs:enumeration value="2304"/>
			<xs:enumeration value="2305"/>
			<xs:enumeration value="2306"/>
			<xs:enumeration value="2351"/>
			<xs:enumeration value="2352"/>
			<xs:enumeration value="2353"/>
			<xs:enumeration value="2354"/>
			<xs:enumeration value="2355"/>
			<xs:enumeration value="2356"/>
			<xs:enumeration value="2401"/>
			<xs:enumeration value="2403"/>
			<xs:enumeration value="2406"/>
			<xs:enumeration value="2407"/>
			<xs:enumeration value="2408"/>
			<xs:enumeration value="2409"/>
			<xs:enumeration value="2410"/>
			<xs:enumeration value="2411"/>
			<xs:enumeration value="2414"/>
			<xs:enumeration value="2415"/>
			<xs:enumeration value="2501"/>
			<xs:enumeration value="2503"/>
			<xs:enumeration value="2504"/>
			<xs:enumeration value="2505"/>
			<xs:enumeration value="2506"/>
			<xs:enumeration value="2551"/>
			<xs:enumeration value="2552"/>
			<xs:enumeration value="2553"/>
			<xs:enumeration value="2554"/>
			<xs:enumeration value="2555"/>
			<xs:enumeration value="2556"/>
			<xs:enumeration value="2557"/>
			<xs:enumeration value="2603"/>
			<xs:enumeration value="2651"/>
			<xs:enumeration value="2652"/>
			<xs:enumeration value="2653"/>
			<xs:enumeration value="2658"/>
			<xs:enumeration value="2659"/>
			<xs:enumeration value="2660"/>
			<xs:enumeration value="2661"/>
			<xs:enumeration value="2662"/>
			<xs:enumeration value="2663"/>
			<xs:enumeration value="2664"/>
			<xs:enumeration value="2901"/>
			<xs:enumeration value="2902"/>
			<xs:enumeration value="2903"/>
			<xs:enumeration value="2904"/>
			<xs:enumeration value="2905"/>
			<xs:enumeration value="2906"/>
			<xs:enumeration value="2907"/>
			<xs:enumeration value="2908"/>
			<xs:enumeration value="2909"/>
			<xs:enumeration value="2910"/>
			<xs:enumeration value="2911"/>
			<xs:enumeration value="2912"/>
			<xs:enumeration value="2913"/>
			<xs:enumeration value="2914"/>
			<xs:enumeration value="2915"/>
			<xs:enumeration value="2916"/>
			<xs:enumeration value="2917"/>
			<xs:enumeration value="2918"/>
			<xs:enumeration value="2919"/>
			<xs:enumeration value="2920"/>
			<xs:enumeration value="2921"/>
			<xs:enumeration value="2922"/>
			<xs:enumeration value="2923"/>
			<xs:enumeration value="2924"/>
			<xs:enumeration value="2925"/>
			<xs:enumeration value="2931"/>
			<xs:enumeration value="2932"/>
			<xs:enumeration value="2933"/>
			<xs:enumeration value="2949"/>
			<xs:enumeration value="3101"/>
			<xs:enumeration value="3102"/>
			<xs:enumeration value="3126"/>
			<xs:enumeration value="3127"/>
			<xs:enumeration value="3201"/>
			<xs:enumeration value="3202"/>
			<xs:enumeration value="3205"/>
			<xs:enumeration value="3206"/>
			<xs:enumeration value="3207"/>
			<xs:enumeration value="3211"/>
			<xs:enumeration value="3251"/>
			<xs:enumeration value="3301"/>
			<xs:enumeration value="3351"/>
			<xs:enumeration value="3352"/>
			<xs:enumeration value="3353"/>
			<xs:enumeration value="3354"/>
			<xs:enumeration value="3355"/>
			<xs:enumeration value="3356"/>
			<xs:enumeration value="3503"/>
			<xs:enumeration value="3551"/>
			<xs:enumeration value="3553"/>
			<xs:enumeration value="3556"/>
			<xs:enumeration value="3651"/>
			<xs:enumeration value="3652"/>
			<xs:enumeration value="3653"/>
			<xs:enumeration value="3930"/>
			<xs:enumeration value="3949"/>
			<xs:enumeration value="5101"/>
			<xs:enumeration value="5102"/>
			<xs:enumeration value="5103"/>
			<xs:enumeration value="5104"/>
			<xs:enumeration value="5105"/>
			<xs:enumeration value="5106"/>
			<xs:enumeration value="5109"/>
			<xs:enumeration value="5110"/>
			<xs:enumeration value="5111"/>
			<xs:enumeration value="5112"/>
			<xs:enumeration value="5113"/>
			<xs:enumeration value="5114"/>
			<xs:enumeration value="5115"/>
			<xs:enumeration value="5116"/>
			<xs:enumeration value="5117"/>
			<xs:enumeration value="5118"/>
			<xs:enumeration value="5119"/>
			<xs:enumeration value="5120"/>
			<xs:enumeration value="5122"/>
			<xs:enumeration value="5123"/>
			<xs:enumeration value="5124"/>
			<xs:enumeration value="5125"/>
			<xs:enumeration value="5151"/>
			<xs:enumeration value="5152"/>
			<xs:enumeration value="5153"/>
			<xs:enumeration value="5155"/>
			<xs:enumeration value="5156"/>
			<xs:enumeration value="5201"/>
			<xs:enumeration value="5202"/>
			<xs:enumeration value="5205"/>
			<xs:enumeration value="5206"/>
			<xs:enumeration value="5207"/>
			<xs:enumeration value="5208"/>
			<xs:enumeration value="5209"/>
			<xs:enumeration value="5210"/>
			<xs:enumeration value="5251"/>
			<xs:enumeration value="5252"/>
			<xs:enumeration value="5253"/>
			<xs:enumeration value="5254"/>
			<xs:enumeration value="5255"/>
			<xs:enumeration value="5256"/>
			<xs:enumeration value="5257"/>
			<xs:enumeration value="5258"/>
			<xs:enumeration value="5301"/>
			<xs:enumeration value="5302"/>
			<xs:enumeration value="5303"/>
			<xs:enumeration value="5304"/>
			<xs:enumeration value="5305"/>
			<xs:enumeration value="5306"/>
			<xs:enumeration value="5307"/>
			<xs:enumeration value="5351"/>
			<xs:enumeration value="5352"/>
			<xs:enumeration value="5353"/>
			<xs:enumeration value="5354"/>
			<xs:enumeration value="5355"/>
			<xs:enumeration value="5356"/>
			<xs:enumeration value="5357"/>
			<xs:enumeration value="5359"/>
			<xs:enumeration value="5360"/>
			<xs:enumeration value="5401"/>
			<xs:enumeration value="5402"/>
			<xs:enumeration value="5403"/>
			<xs:enumeration value="5405"/>
			<xs:enumeration value="5408"/>
			<xs:enumeration value="5409"/>
			<xs:enumeration value="5410"/>
			<xs:enumeration value="5411"/>
			<xs:enumeration value="5412"/>
			<xs:enumeration value="5413"/>
			<xs:enumeration value="5414"/>
			<xs:enumeration value="5415"/>
			<xs:enumeration value="5451"/>
			<xs:enumeration value="5501"/>
			<xs:enumeration value="5502"/>
			<xs:enumeration value="5503"/>
			<xs:enumeration value="5504"/>
			<xs:enumeration value="5505"/>
			<xs:enumeration value="5551"/>
			<xs:enumeration value="5552"/>
			<xs:enumeration value="5553"/>
			<xs:enumeration value="5554"/>
			<xs:enumeration value="5555"/>
			<xs:enumeration value="5556"/>
			<xs:enumeration value="5557"/>
			<xs:enumeration value="5601"/>
			<xs:enumeration value="5602"/>
			<xs:enumeration value="5603"/>
			<xs:enumeration value="5605"/>
			<xs:enumeration value="5606"/>
			<xs:enumeration value="5651"/>
			<xs:enumeration value="5652"/>
			<xs:enumeration value="5653"/>
			<xs:enumeration value="5654"/>
			<xs:enumeration value="5655"/>
			<xs:enumeration value="5656"/>
			<xs:enumeration value="5657"/>
			<xs:enumeration value="5658"/>
			<xs:enumeration value="5659"/>
			<xs:enumeration value="5660"/>
			<xs:enumeration value="5661"/>
			<xs:enumeration value="5662"/>
			<xs:enumeration value="5663"/>
			<xs:enumeration value="5664"/>
			<xs:enumeration value="5665"/>
			<xs:enumeration value="5666"/>
			<xs:enumeration value="5667"/>
			<xs:enumeration value="5901"/>
			<xs:enumeration value="5902"/>
			<xs:enumeration value="5903"/>
			<xs:enumeration value="5904"/>
			<xs:enumeration value="5905"/>
			<xs:enumeration value="5906"/>
			<xs:enumeration value="5907"/>
			<xs:enumeration value="5908"/>
			<xs:enumeration value="5909"/>
			<xs:enumeration value="5910"/>
			<xs:enumeration value="5911"/>
			<xs:enumeration value="5912"/>
			<xs:enumeration value="5913"/>
			<xs:enumeration value="5914"/>
			<xs:enumeration value="5915"/>
			<xs:enumeration value="5916"/>
			<xs:enumeration value="5917"/>
			<xs:enumeration value="5918"/>
			<xs:enumeration value="5919"/>
			<xs:enumeration value="5920"/>
			<xs:enumeration value="5921"/>
			<xs:enumeration value="5922"/>
			<xs:enumeration value="5923"/>
			<xs:enumeration value="5924"/>
			<xs:enumeration value="5925"/>
			<xs:enumeration value="5926"/>
			<xs:enumeration value="5927"/>
			<xs:enumeration value="5928"/>
			<xs:enumeration value="5929"/>
			<xs:enumeration value="5931"/>
			<xs:enumeration value="5932"/>
			<xs:enumeration value="5933"/>
			<xs:enumeration value="5949"/>
			<xs:enumeration value="6101"/>
			<xs:enumeration value="6102"/>
			<xs:enumeration value="6103"/>
			<xs:enumeration value="6104"/>
			<xs:enumeration value="6105"/>
			<xs:enumeration value="6106"/>
			<xs:enumeration value="6107"/>
			<xs:enumeration value="6108"/>
			<xs:enumeration value="6109"/>
			<xs:enumeration value="6110"/>
			<xs:enumeration value="6111"/>
			<xs:enumeration value="6112"/>
			<xs:enumeration value="6113"/>
			<xs:enumeration value="6114"/>
			<xs:enumeration value="6115"/>
			<xs:enumeration value="6116"/>
			<xs:enumeration value="6117"/>
			<xs:enumeration value="6118"/>
			<xs:enumeration value="6119"/>
			<xs:enumeration value="6120"/>
			<xs:enumeration value="6122"/>
			<xs:enumeration value="6123"/>
			<xs:enumeration value="6124"/>
			<xs:enumeration value="6125"/>
			<xs:enumeration value="6151"/>
			<xs:enumeration value="6152"/>
			<xs:enumeration value="6153"/>
			<xs:enumeration value="6155"/>
			<xs:enumeration value="6156"/>
			<xs:enumeration value="6201"/>
			<xs:enumeration value="6202"/>
			<xs:enumeration value="6205"/>
			<xs:enumeration value="6206"/>
			<xs:enumeration value="6207"/>
			<xs:enumeration value="6208"/>
			<xs:enumeration value="6209"/>
			<xs:enumeration value="6210"/>
			<xs:enumeration value="6251"/>
			<xs:enumeration value="6252"/>
			<xs:enumeration value="6253"/>
			<xs:enumeration value="6254"/>
			<xs:enumeration value="6255"/>
			<xs:enumeration value="6256"/>
			<xs:enumeration value="6257"/>
			<xs:enumeration value="6258"/>
			<xs:enumeration value="6301"/>
			<xs:enumeration value="6302"/>
			<xs:enumeration value="6303"/>
			<xs:enumeration value="6304"/>
			<xs:enumeration value="6305"/>
			<xs:enumeration value="6306"/>
			<xs:enumeration value="6307"/>
			<xs:enumeration value="6351"/>
			<xs:enumeration value="6352"/>
			<xs:enumeration value="6353"/>
			<xs:enumeration value="6354"/>
			<xs:enumeration value="6355"/>
			<xs:enumeration value="6356"/>
			<xs:enumeration value="6357"/>
			<xs:enumeration value="6359"/>
			<xs:enumeration value="6401"/>
			<xs:enumeration value="6402"/>
			<xs:enumeration value="6403"/>
			<xs:enumeration value="6404"/>
			<xs:enumeration value="6408"/>
			<xs:enumeration value="6409"/>
			<xs:enumeration value="6410"/>
			<xs:enumeration value="6411"/>
			<xs:enumeration value="6412"/>
			<xs:enumeration value="6413"/>
			<xs:enumeration value="6414"/>
			<xs:enumeration value="6415"/>
			<xs:enumeration value="6501"/>
			<xs:enumeration value="6502"/>
			<xs:enumeration value="6503"/>
			<xs:enumeration value="6504"/>
			<xs:enumeration value="6505"/>
			<xs:enumeration value="6551"/>
			<xs:enumeration value="6552"/>
			<xs:enumeration value="6553"/>
			<xs:enumeration value="6554"/>
			<xs:enumeration value="6555"/>
			<xs:enumeration value="6556"/>
			<xs:enumeration value="6557"/>
			<xs:enumeration value="6603"/>
			<xs:enumeration value="6651"/>
			<xs:enumeration value="6652"/>
			<xs:enumeration value="6653"/>
			<xs:enumeration value="6654"/>
			<xs:enumeration value="6655"/>
			<xs:enumeration value="6656"/>
			<xs:enumeration value="6657"/>
			<xs:enumeration value="6658"/>
			<xs:enumeration value="6659"/>
			<xs:enumeration value="6660"/>
			<xs:enumeration value="6661"/>
			<xs:enumeration value="6662"/>
			<xs:enumeration value="6663"/>
			<xs:enumeration value="6664"/>
			<xs:enumeration value="6665"/>
			<xs:enumeration value="6666"/>
			<xs:enumeration value="6667"/>
			<xs:enumeration value="6901"/>
			<xs:enumeration value="6902"/>
			<xs:enumeration value="6903"/>
			<xs:enumeration value="6904"/>
			<xs:enumeration value="6905"/>
			<xs:enumeration value="6906"/>
			<xs:enumeration value="6907"/>
			<xs:enumeration value="6908"/>
			<xs:enumeration value="6909"/>
			<xs:enumeration value="6910"/>
			<xs:enumeration value="6911"/>
			<xs:enumeration value="6912"/>
			<xs:enumeration value="6913"/>
			<xs:enumeration value="6914"/>
			<xs:enumeration value="6915"/>
			<xs:enumeration value="6916"/>
			<xs:enumeration value="6917"/>
			<xs:enumeration value="6918"/>
			<xs:enumeration value="6919"/>
			<xs:enumeration value="6920"/>
			<xs:enumeration value="6921"/>
			<xs:enumeration value="6922"/>
			<xs:enumeration value="6923"/>
			<xs:enumeration value="6924"/>
			<xs:enumeration value="6925"/>
			<xs:enumeration value="6929"/>
			<xs:enumeration value="6931"/>
			<xs:enumeration value="6932"/>
			<xs:enumeration value="6933"/>
			<xs:enumeration value="6949"/>
			<xs:enumeration value="7101"/>
			<xs:enumeration value="7102"/>
			<xs:enumeration value="7105"/>
			<xs:enumeration value="7106"/>
			<xs:enumeration value="7127"/>
			<xs:enumeration value="7201"/>
			<xs:enumeration value="7202"/>
			<xs:enumeration value="7205"/>
			<xs:enumeration value="7206"/>
			<xs:enumeration value="7207"/>
			<xs:enumeration value="7210"/>
			<xs:enumeration value="7211"/>
			<xs:enumeration value="7251"/>
			<xs:enumeration value="7301"/>
			<xs:enumeration value="7358"/>
			<xs:enumeration value="7501"/>
			<xs:enumeration value="7551"/>
			<xs:enumeration value="7553"/>
			<xs:enumeration value="7556"/>
			<xs:enumeration value="7651"/>
			<xs:enumeration value="7654"/>
			<xs:enumeration value="7667"/>
			<xs:enumeration value="7930"/>
			<xs:enumeration value="7949"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Torig">
		<xs:annotation>
			<xs:documentation>Tipo Origem da mercadoria CST ICMS</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="0"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TFinNFe">
		<xs:annotation>
			<xs:documentation>Tipo Finalidade da NF-e</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TProcEmi">
		<xs:annotation>
			<xs:documentation>Tipo processo de emissão da NF-e</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="0"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TCListServ">
		<xs:annotation>
			<xs:documentation>Tipo Código da Lista de Serviços LC 116/2003</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="101"/>
			<xs:enumeration value="102"/>
			<xs:enumeration value="103"/>
			<xs:enumeration value="104"/>
			<xs:enumeration value="105"/>
			<xs:enumeration value="106"/>
			<xs:enumeration value="107"/>
			<xs:enumeration value="108"/>
			<xs:enumeration value="201"/>
			<xs:enumeration value="302"/>
			<xs:enumeration value="303"/>
			<xs:enumeration value="304"/>
			<xs:enumeration value="305"/>
			<xs:enumeration value="401"/>
			<xs:enumeration value="402"/>
			<xs:enumeration value="403"/>
			<xs:enumeration value="404"/>
			<xs:enumeration value="405"/>
			<xs:enumeration value="406"/>
			<xs:enumeration value="407"/>
			<xs:enumeration value="408"/>
			<xs:enumeration value="409"/>
			<xs:enumeration value="410"/>
			<xs:enumeration value="411"/>
			<xs:enumeration value="412"/>
			<xs:enumeration value="413"/>
			<xs:enumeration value="414"/>
			<xs:enumeration value="415"/>
			<xs:enumeration value="416"/>
			<xs:enumeration value="417"/>
			<xs:enumeration value="418"/>
			<xs:enumeration value="419"/>
			<xs:enumeration value="420"/>
			<xs:enumeration value="421"/>
			<xs:enumeration value="422"/>
			<xs:enumeration value="423"/>
			<xs:enumeration value="501"/>
			<xs:enumeration value="502"/>
			<xs:enumeration value="503"/>
			<xs:enumeration value="504"/>
			<xs:enumeration value="505"/>
			<xs:enumeration value="506"/>
			<xs:enumeration value="507"/>
			<xs:enumeration value="508"/>
			<xs:enumeration value="509"/>
			<xs:enumeration value="601"/>
			<xs:enumeration value="602"/>
			<xs:enumeration value="603"/>
			<xs:enumeration value="604"/>
			<xs:enumeration value="605"/>
			<xs:enumeration value="701"/>
			<xs:enumeration value="702"/>
			<xs:enumeration value="703"/>
			<xs:enumeration value="704"/>
			<xs:enumeration value="705"/>
			<xs:enumeration value="706"/>
			<xs:enumeration value="707"/>
			<xs:enumeration value="708"/>
			<xs:enumeration value="709"/>
			<xs:enumeration value="710"/>
			<xs:enumeration value="711"/>
			<xs:enumeration value="712"/>
			<xs:enumeration value="713"/>
			<xs:enumeration value="716"/>
			<xs:enumeration value="717"/>
			<xs:enumeration value="718"/>
			<xs:enumeration value="719"/>
			<xs:enumeration value="720"/>
			<xs:enumeration value="721"/>
			<xs:enumeration value="722"/>
			<xs:enumeration value="801"/>
			<xs:enumeration value="802"/>
			<xs:enumeration value="901"/>
			<xs:enumeration value="902"/>
			<xs:enumeration value="903"/>
			<xs:enumeration value="1001"/>
			<xs:enumeration value="1002"/>
			<xs:enumeration value="1003"/>
			<xs:enumeration value="1004"/>
			<xs:enumeration value="1005"/>
			<xs:enumeration value="1006"/>
			<xs:enumeration value="1007"/>
			<xs:enumeration value="1008"/>
			<xs:enumeration value="1009"/>
			<xs:enumeration value="1010"/>
			<xs:enumeration value="1101"/>
			<xs:enumeration value="1102"/>
			<xs:enumeration value="1103"/>
			<xs:enumeration value="1104"/>
			<xs:enumeration value="1201"/>
			<xs:enumeration value="1202"/>
			<xs:enumeration value="1203"/>
			<xs:enumeration value="1204"/>
			<xs:enumeration value="1205"/>
			<xs:enumeration value="1206"/>
			<xs:enumeration value="1207"/>
			<xs:enumeration value="1208"/>
			<xs:enumeration value="1209"/>
			<xs:enumeration value="1210"/>
			<xs:enumeration value="1211"/>
			<xs:enumeration value="1212"/>
			<xs:enumeration value="1213"/>
			<xs:enumeration value="1214"/>
			<xs:enumeration value="1215"/>
			<xs:enumeration value="1216"/>
			<xs:enumeration value="1217"/>
			<xs:enumeration value="1302"/>
			<xs:enumeration value="1303"/>
			<xs:enumeration value="1304"/>
			<xs:enumeration value="1305"/>
			<xs:enumeration value="1401"/>
			<xs:enumeration value="1402"/>
			<xs:enumeration value="1403"/>
			<xs:enumeration value="1404"/>
			<xs:enumeration value="1405"/>
			<xs:enumeration value="1406"/>
			<xs:enumeration value="1407"/>
			<xs:enumeration value="1408"/>
			<xs:enumeration value="1409"/>
			<xs:enumeration value="1410"/>
			<xs:enumeration value="1411"/>
			<xs:enumeration value="1412"/>
			<xs:enumeration value="1413"/>
			<xs:enumeration value="1501"/>
			<xs:enumeration value="1502"/>
			<xs:enumeration value="1503"/>
			<xs:enumeration value="1504"/>
			<xs:enumeration value="1505"/>
			<xs:enumeration value="1506"/>
			<xs:enumeration value="1507"/>
			<xs:enumeration value="1508"/>
			<xs:enumeration value="1509"/>
			<xs:enumeration value="1510"/>
			<xs:enumeration value="1511"/>
			<xs:enumeration value="1512"/>
			<xs:enumeration value="1513"/>
			<xs:enumeration value="1514"/>
			<xs:enumeration value="1515"/>
			<xs:enumeration value="1516"/>
			<xs:enumeration value="1517"/>
			<xs:enumeration value="1518"/>
			<xs:enumeration value="1601"/>
			<xs:enumeration value="1701"/>
			<xs:enumeration value="1702"/>
			<xs:enumeration value="1703"/>
			<xs:enumeration value="1704"/>
			<xs:enumeration value="1705"/>
			<xs:enumeration value="1706"/>
			<xs:enumeration value="1708"/>
			<xs:enumeration value="1709"/>
			<xs:enumeration value="1710"/>
			<xs:enumeration value="1711"/>
			<xs:enumeration value="1712"/>
			<xs:enumeration value="1713"/>
			<xs:enumeration value="1714"/>
			<xs:enumeration value="1715"/>
			<xs:enumeration value="1716"/>
			<xs:enumeration value="1717"/>
			<xs:enumeration value="1718"/>
			<xs:enumeration value="1719"/>
			<xs:enumeration value="1720"/>
			<xs:enumeration value="1721"/>
			<xs:enumeration value="1722"/>
			<xs:enumeration value="1723"/>
			<xs:enumeration value="1724"/>
			<xs:enumeration value="1801"/>
			<xs:enumeration value="1901"/>
			<xs:enumeration value="2001"/>
			<xs:enumeration value="2002"/>
			<xs:enumeration value="2003"/>
			<xs:enumeration value="2101"/>
			<xs:enumeration value="2201"/>
			<xs:enumeration value="2301"/>
			<xs:enumeration value="2401"/>
			<xs:enumeration value="2501"/>
			<xs:enumeration value="2502"/>
			<xs:enumeration value="2503"/>
			<xs:enumeration value="2504"/>
			<xs:enumeration value="2601"/>
			<xs:enumeration value="2701"/>
			<xs:enumeration value="2801"/>
			<xs:enumeration value="2901"/>
			<xs:enumeration value="3001"/>
			<xs:enumeration value="3101"/>
			<xs:enumeration value="3201"/>
			<xs:enumeration value="3301"/>
			<xs:enumeration value="3401"/>
			<xs:enumeration value="3501"/>
			<xs:enumeration value="3601"/>
			<xs:enumeration value="3701"/>
			<xs:enumeration value="3801"/>
			<xs:enumeration value="3901"/>
			<xs:enumeration value="4001"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TIdLote">
		<xs:annotation>
			<xs:documentation> Tipo Identificação de Lote</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:pattern value="[0-9]{1,15}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TVerNFe">
		<xs:annotation>
			<xs:documentation> Tipo Versão da NF-e - 1.10</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:pattern value="1\.10"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
